package com.company.calendar.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 工作日配置实体类
 * 
 * @author System
 * @since 1.0.0
 */
@TableName("workday_configs")
@Data
public class WorkdayConfig {
    
    @TableId(type = IdType.AUTO)
    private Long id;
    
    @TableField("company_id")
    private Long companyId;
    
    @TableField("config_name")
    private String configName;
    
    private String description;
    
    @TableField("is_default")
    private Boolean isDefault = false;
    
    @TableField(value = "created_time", fill = FieldFill.INSERT)
    private LocalDateTime createdTime;
    
    @TableField(value = "updated_time", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updatedTime;
    
    @TableLogic
    @TableField("is_deleted")
    private Boolean isDeleted = false;
}


